<?php /* Smarty version Smarty-3.1.18, created on 2017-02-20 17:10:09
         compiled from "Finance/views/user/reward_details.html" */ ?>
<?php /*%%SmartyHeaderCode:147042207558aab2716c2ce7-23997265%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '58a6495803e5ede335f2e9b1015a65c719522a9b' => 
    array (
      0 => 'Finance/views/user/reward_details.html',
      1 => 1487574483,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '147042207558aab2716c2ce7-23997265',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'style_dir' => 0,
    'list' => 0,
    'val' => 0,
    'showPage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_58aab27173a0d6_60543294',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58aab27173a0d6_60543294')) {function content_58aab27173a0d6_60543294($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 
<script src="<?php echo $_smarty_tpl->tpl_vars['style_dir']->value;?>
/js/user-exper.js" type="text/javascript" charset="utf-8"></script>
		<!--main部分-->
		<div class="x-main-upper w1180-con">
			<!--main--左边--logo/tab-->
			<?php echo $_smarty_tpl->getSubTemplate ("public/user_nav.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 
				<!--main--右边--banner-->
				<div class="main-right">
					<div class="mright-content">
						<!--头像、昵称、等级-->
						<?php echo $_smarty_tpl->getSubTemplate ("public/user_top.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 			
						<div class="clear"></div>
						<!--试玩信息-->
						<div class="cash66 mt15">
							<!--title-->
							<div class="title">
								<div class="vertical"></div>
                                <p class="title66">奖励明细</p>
								<!--日期选择-->
							</div>
                                <div class="clear"></div>
                                <div class="cash-code mt15">
                                    <table class="reward_details" id="invest_list">
                                        <tr>
                                            <th>投资编号</th>
                                            <th>体验平台</th>
                                            <th>投资标的</th>
                                            <th>投资金额</th>
                                            <th>有效加息金额 <b class="icon icon-detail-hint"></b><p class="icon-explain icon-effective1"></p></th>
                                            <th>弹溜溜年化加息</th>
                                            <th>溜溜币总奖励 <b class="icon icon-detail-hint"></b><p class="icon-explain icon-reward66"></p></th>
                                            <th>投资日期</th>
                                            <th>加息珠</th>
                                            <th>奖励明细</th>
                                            <th>状态</th>
                                        </tr>
                                        <tbody>
                                            <?php if ($_smarty_tpl->tpl_vars['list']->value) {?>
                                            <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
?>
                                            <tr>
                                                    <td class="col333">A<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
</td>
                                                    <td class="col333"><a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['detail_url'];?>
" target="_blank"><?php echo $_smarty_tpl->tpl_vars['val']->value['name_ch'];?>
</a></td>
                                                    <td class="obj_w135"><?php echo $_smarty_tpl->tpl_vars['val']->value['title'];?>
</td>
                                                    <td><?php echo $_smarty_tpl->tpl_vars['val']->value['total_amount'];?>
</td>
                                                    <td class="col333"><?php echo $_smarty_tpl->tpl_vars['val']->value['amount'];?>
</td>
                                                    <td class="fa8406"><?php echo $_smarty_tpl->tpl_vars['val']->value['add_interest'];?>
</td>
                                                    <td class="fa8406"><?php echo $_smarty_tpl->tpl_vars['val']->value['total_interest_finance'];?>
</td>
                                                    <td><?php echo $_smarty_tpl->tpl_vars['val']->value['invest_time'];?>
</td>
                                                    <td class="col333">
                                                        <?php if ($_smarty_tpl->tpl_vars['val']->value['status']) {?>
                                                            <?php if ($_smarty_tpl->tpl_vars['val']->value['extra_interest']) {?>
                                                            <b class="icon icon-used"><?php echo $_smarty_tpl->tpl_vars['val']->value['extra_interest'];?>
</b>
                                                            <?php } else { ?>
                                                            <b class="icon icon-usage"></b>
                                                            <?php }?>
                                                        <?php } else { ?>
                                                            <?php if ($_smarty_tpl->tpl_vars['val']->value['extra_interest']) {?>
                                                            <b class="icon icon-used"><?php echo $_smarty_tpl->tpl_vars['val']->value['extra_interest'];?>
</b>
                                                            <?php } else { ?>
                                                            <b class="icon icon-used">0%</b>
                                                            <?php }?>
                                                        <?php }?>
                                                    </td>
                                                    <td class="col333"><a href="javascript:void(0);" class="show-inter" data-iid="<?php echo $_smarty_tpl->tpl_vars['val']->value['id'];?>
">查看</a></td>
                                                    <?php if ($_smarty_tpl->tpl_vars['val']->value['status']) {?>
                                                    <td class="boss-red">加息中</td>
                                                    <?php } else { ?>
                                                    <td class="col333">已结束</td>
                                                    <?php }?>
                                            </tr>
                                            <?php } ?>
                                            <?php } else { ?>
                                            <tr>
                                                <td colspan="11">
                                                    <img src="<?php echo $_smarty_tpl->tpl_vars['style_dir']->value;?>
/img/no-trade.png" />
                                                </td>
                                            </tr>
                                            <?php }?>
                                        </tbody>
                                    </table>
                                    <!-- 页码navigation holder -->
                                    <div class="holder" <?php if ('total'<=10) {?>style="display:none;"<?php }?>>
                                        <?php echo $_smarty_tpl->tpl_vars['showPage']->value;?>

                                    </div>
							
                                </div>
                            <script type="text/javascript">
                                $(function () {
                                    $(".main-right .cash66 table.reward_details tr th").hover(function () {
                                       $(this).children("p").slideToggle(250);
                                    });
                                })
                            </script>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div class="clear"></div>
        <!--弹窗-每日加息券，查看加息券-->
        <div class="popup reward-popup-fat"></div>
        <div class="daily_reward reward-popup-fat" style="display: none;">
            <h4>每日加息奖励记录<a href="javascript:void(0);" class="fr icon icon-close popup-close mr30"></a></h4>
            <p>
                <span>弹溜溜加息奖励总计：<em class="boss-red fixed-award">0</em></span>
                <span>加息珠加息奖励总计：<em class="boss-red extra-award">0</em></span>
            </p>
            <div class="tab_overflow">
                <table class="dr_tab">
                    <thead><tr><th>日期</th><th>年化加息奖励</th><th>加息珠奖励</th><th>加息奖励总计</th></tr></thead>
                    <tbody id="day_list">
                    </tbody>
                </table>
                <div class="tab_shadow"></div>
            </div>
        </div>
        <!--加息珠使用成功-->
        <div class="increase_layer" style="display:none;">
            <img src="<?php echo $_smarty_tpl->tpl_vars['style_dir']->value;?>
/img/jiaxi/increase-success.png" alt="" />
            <img style="display: none" src="<?php echo $_smarty_tpl->tpl_vars['style_dir']->value;?>
/img/jiaxi/increase-fail.png.png" alt="" />
            <div class="jiaxi-close"><b class="icon icon-jiaxi-close"></b></div>
        </div>
		<!--footer-->
	<script type="text/javascript">
        //查看加息珠
//		$("table.reward_details tr td a").click(function(){
//			$(".popup").show();
//			$(".daily_reward").show();
//		});
//		$(".popup-close").click(function(){
//			$(".popup").hide();
//			$(".daily_reward").hide();
//		});
        //加息珠使用成功
        $(".icon-jiaxi-close").click(function () {
            $(".increase_layer").fadeOut();
        });
	</script>

<?php echo $_smarty_tpl->getSubTemplate ("public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 	<?php }} ?>
